<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: webX::Server&lt; HTTP &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>webX</b></li><li class="navelem"><a class="el" href="classwebX_1_1Server_3_01HTTP_01_4.html">Server&lt; HTTP &gt;</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classwebX_1_1Server_3_01HTTP_01_4-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">webX::Server&lt; HTTP &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for webX::Server&lt; HTTP &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classwebX_1_1Server_3_01HTTP_01_4__inherit__graph.png" border="0" usemap="#webX_1_1Server_3_01HTTP_01_4_inherit__map" alt="Inheritance graph"/></div>
<!-- MAP 0 -->
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for webX::Server&lt; HTTP &gt;:</div>
<div class="dyncontent">
<div class="center"><img src="classwebX_1_1Server_3_01HTTP_01_4__coll__graph.png" border="0" usemap="#webX_1_1Server_3_01HTTP_01_4_coll__map" alt="Collaboration graph"/></div>
<!-- MAP 1 -->
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7c462842199eaea93f846816424de579"><td class="memItemLeft" align="right" valign="top"><a id="a7c462842199eaea93f846816424de579"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Server</b> (unsigned int port, size_t num_threads=1)</td></tr>
<tr class="separator:a7c462842199eaea93f846816424de579"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classwebX_1_1ServerBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwebX_1_1ServerBase')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classwebX_1_1ServerBase.html">webX::ServerBase&lt; HTTP &gt;</a></td></tr>
<tr class="memitem:a7bf91647c7d96c582b3c2e76fb306e48 inherit pub_methods_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="a7bf91647c7d96c582b3c2e76fb306e48"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ServerBase</b> (unsigned short port, size_t num_threads=1)</td></tr>
<tr class="separator:a7bf91647c7d96c582b3c2e76fb306e48 inherit pub_methods_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ce0af5b76f11930d43f706c0eacd26e inherit pub_methods_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="a4ce0af5b76f11930d43f706c0eacd26e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>start</b> ()</td></tr>
<tr class="separator:a4ce0af5b76f11930d43f706c0eacd26e inherit pub_methods_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_classwebX_1_1ServerBase"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classwebX_1_1ServerBase')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="classwebX_1_1ServerBase.html">webX::ServerBase&lt; HTTP &gt;</a></td></tr>
<tr class="memitem:ad05d4c2dbdd17430ed295869f5fa4256 inherit pub_attribs_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="ad05d4c2dbdd17430ed295869f5fa4256"></a>
resource_type&#160;</td><td class="memItemRight" valign="bottom"><b>resource</b></td></tr>
<tr class="separator:ad05d4c2dbdd17430ed295869f5fa4256 inherit pub_attribs_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae0a66fe63a3bd63aad020320de5bb99 inherit pub_attribs_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="aae0a66fe63a3bd63aad020320de5bb99"></a>
resource_type&#160;</td><td class="memItemRight" valign="bottom"><b>default_resource</b></td></tr>
<tr class="separator:aae0a66fe63a3bd63aad020320de5bb99 inherit pub_attribs_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classwebX_1_1ServerBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwebX_1_1ServerBase')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classwebX_1_1ServerBase.html">webX::ServerBase&lt; HTTP &gt;</a></td></tr>
<tr class="memitem:a9555e5857b31324661ed50f9cbde9551 inherit pro_methods_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="a9555e5857b31324661ed50f9cbde9551"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>process_request_and_respond</b> (std::shared_ptr&lt; HTTP &gt; socket) const</td></tr>
<tr class="separator:a9555e5857b31324661ed50f9cbde9551 inherit pro_methods_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a8784b7bc69bd307c6f528375cf1f75 inherit pro_methods_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="a2a8784b7bc69bd307c6f528375cf1f75"></a>
<a class="el" href="structwebX_1_1Request.html">Request</a>&#160;</td><td class="memItemRight" valign="bottom"><b>parse_request</b> (std::istream &amp;stream) const</td></tr>
<tr class="separator:a2a8784b7bc69bd307c6f528375cf1f75 inherit pro_methods_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dc0a116b2a9ceee4253dc25334c2a76 inherit pro_methods_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="a6dc0a116b2a9ceee4253dc25334c2a76"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>respond</b> (std::shared_ptr&lt; HTTP &gt; socket, std::shared_ptr&lt; <a class="el" href="structwebX_1_1Request.html">Request</a> &gt; request) const</td></tr>
<tr class="separator:a6dc0a116b2a9ceee4253dc25334c2a76 inherit pro_methods_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classwebX_1_1ServerBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classwebX_1_1ServerBase')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classwebX_1_1ServerBase.html">webX::ServerBase&lt; HTTP &gt;</a></td></tr>
<tr class="memitem:a0a6263231bbea9bae2be601fecc422f0 inherit pro_attribs_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="a0a6263231bbea9bae2be601fecc422f0"></a>
boost::asio::io_service&#160;</td><td class="memItemRight" valign="bottom"><b>m_io_service</b></td></tr>
<tr class="separator:a0a6263231bbea9bae2be601fecc422f0 inherit pro_attribs_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a961394b2d08c5c893302ebe6cb01ba5f inherit pro_attribs_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="a961394b2d08c5c893302ebe6cb01ba5f"></a>
boost::asio::ip::tcp::endpoint&#160;</td><td class="memItemRight" valign="bottom"><b>endpoint</b></td></tr>
<tr class="separator:a961394b2d08c5c893302ebe6cb01ba5f inherit pro_attribs_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7eb4ccdb1bbdaffa73e5490643d3e51 inherit pro_attribs_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="ae7eb4ccdb1bbdaffa73e5490643d3e51"></a>
boost::asio::ip::tcp::acceptor&#160;</td><td class="memItemRight" valign="bottom"><b>acceptor</b></td></tr>
<tr class="separator:ae7eb4ccdb1bbdaffa73e5490643d3e51 inherit pro_attribs_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a495aab223e9f8acbfa814764f38a8230 inherit pro_attribs_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="a495aab223e9f8acbfa814764f38a8230"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><b>num_threads</b></td></tr>
<tr class="separator:a495aab223e9f8acbfa814764f38a8230 inherit pro_attribs_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc27a7d162b05461361bfccd6e4bc4b0 inherit pro_attribs_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="afc27a7d162b05461361bfccd6e4bc4b0"></a>
std::vector&lt; std::thread &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>threads</b></td></tr>
<tr class="separator:afc27a7d162b05461361bfccd6e4bc4b0 inherit pro_attribs_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a427762f7f128d09a886f5b10f3cee73f inherit pro_attribs_classwebX_1_1ServerBase"><td class="memItemLeft" align="right" valign="top"><a id="a427762f7f128d09a886f5b10f3cee73f"></a>
std::vector&lt; resource_type::iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>all_resources</b></td></tr>
<tr class="separator:a427762f7f128d09a886f5b10f3cee73f inherit pro_attribs_classwebX_1_1ServerBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="server__http_8hpp_source.html">server_http.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
